# Function for building single example

set (libname base)

file(GLOB BASE_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/*cpp)

add_library(${libname} ${BASE_SOURCE})
target_link_libraries(${libname} external)
target_include_directories(${libname} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
